package com.appengine.news;
/**
 * Application constants
 * @author Aliaksandr_Spichakou
 *
 */
public interface Constants {
	public static final String CONFIG_PATH="config.properties";
	
	public static final String FEED_ID="feedId";	
	
	public static final String UPDATE_QUEUE="updateQueue";
	
	public static final int F_UPDATE_HOUR=3600*1000;
	public static final int F_UPDATE_HALF_HOUR=1800*1000;
	public static final int F_UPDATE_10_MIN=600*1000;
	
	public static final int HOW_OLD_2_REMOVE=1;
	
	public static final String COMMAND = "command";
	public static final String ADD_COMMAND = "add";
	public static final String REMOVE_COMMAND = "remove";
	public static final String CHANGE_COMMAND = "change";
	public static final String MARK_AS_READED_COMMAND = "readed";
	public static final String BACK_COMMAND = "back";
	public static final String FORWARD_COMMAND = "forward";
	public static final String SEND_TO_COMMAND = "post";
	
	public static final String VALUE_FREQ = "freq";
	public static final String VALUE_URL = "url";
	public static final String VALUE_ID = "id";
	public static final String VALUE_HISTORY_INDEX = "historyIndex";
	public static final String VALUE_MAILPOST="mailpost";
	
	public static final String VALUE_IDS = "ids";
	
	public static final String VALUE_MAILTO = "mailto";
	
	public static final String MAIL_TASK="/mail";
	public static final String UPDATE_TASK="/get";
	public static final String UPDATE_RSS_TASK="/updatetask";	
	public static final String RENDERER_TASK="/renderer.jsp";
	public static final String IMAGE_TASK="/img";
	public static final String MANAGE_TASK="/m.jsp";
	
	public static final String DEFAULT_QUEUE="default";
	
	public static final String HISTORY_SESSION_ATTRIBUTE="history";
	
}
